Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change $this->WP_Widget to parent::__construct #219

Closed
wants to merge 1 commit into from

Conversation

adnanoner
Copy link

Ensures compatibility with WP 4.3 (and php 7)

Ensures compatibility with WP 4.3 (and php 7)
@ianchanning
Copy link
Contributor

I hadn't spotted this fix. This fixes #226 (so that it shows up in that issue). I've just put in the same fix in a pull request that also fixes the reasons behind the withdrawl from the WordPress repository #222.

albertso referenced this pull request Aug 26, 2015
With debug enabled, this new message appears since latest update to Wordpress 4.3.0

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in D:\Software\XAMPP\htdocs\wp\wp-includes\functions.php on line 3457

Just change `$this->WP_Widget` to `$this->__construct`
@johnclause
Copy link
Member

It is taken care in #230
Thanks a lot for pointing it out though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants